import { ILoginState } from './modules/login/types'
import { ISystemState } from './modules/main/system/types'

export interface IRootState {
  name: string
}

// 为了兼容ts 使用这种方式
export interface IRootWithModule {
  login: ILoginState
  system: ISystemState
}

export type IStoreType = IRootState & IRootWithModule
